package com.hzt.agprosaleplatform.entity;

import lombok.Data;

import java.util.List;


/**
 * 类似购物车Shopping crat
 */
@Data
public class OrderCreateDTO {
    private String buyer_id;
    private String shop_id;
    private String address_id;
    private String order_message;
    private List<OrderItemDTO> items;

    @Data
    public static class OrderItemDTO {
        private int gid;
        private int amount;
        private float unit_price;
    }
}
